package com.chengqs.rapid.common.metric;

/**
 * <B>主类名称：</B>MetricCodeEnum<BR>
 * <B>概要说明：</B>enter<BR>
 *
 * @author: chengqs
 * @create: 2025-03-18 16:34:09
 **/
public enum MetricCodeEnum {
    UNKNOWN_ERROR(-1, "系统错误"),

    SUCCESS(200, "成功");

    private Integer code;

    private String msg;

    MetricCodeEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
